package com.lovo.boot.dao;

import com.lovo.boot.bean.User;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserMapper {
    List<User> listUsers();
    User getByUsernameAndPwd(String username,String pwd);
    int insert(User user);
    int update(User user);
    int delete(int id);
}
